/*****************************************************************************************
This file is a part of Arise library.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

Arise Engine		BaseObject.h

					E-mail:	arise_engine@mail.ru

					Origin by DK Engine 0.019:
					dev (avon.dn.ua@gmail.com), Agressor (agress0r@mail.ru)

created:			03.01.2004
last changes:		21.04.2007
************************************************************************/
#pragma once

class BaseObject
{
private:

	std::string	m_name;
	int			m_id;

public:
	BaseObject()						{m_name = ""; m_id = 0;}
	virtual ~BaseObject()				{}

	void SetName(const std::string name){m_name	= name;}
	void SetId(int id)					{m_id	= id;}

	std::string	GetName()		const	{return m_name;}
	const char* GetNameCStr()	const	{return m_name.c_str();}
	int			GetId()			const	{return m_id;}

	virtual void Release() = 0;

};
